/*
 * Copyright (C) 2023 xuexiangjys(xuexiangjys@163.com)
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *       http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

package com.xuexiang.templateproject.bean;

//import anet.channel.strategy.dispatch.DispatchConstants;
//import com.jcds.common.utils.Constants;
import java.util.List;
import kotlin.Metadata;
import kotlin.jvm.internal.Intrinsics;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

public final class MatchEntity {
    @NotNull
    private final List<MatchQuestions> matchQuestions;
    private final int subTaskId;
    @NotNull
    private final String transactionId;

    public MatchEntity(@NotNull List<MatchQuestions> matchQuestions, int i2, @NotNull String transactionId) {
        Intrinsics.checkNotNullParameter(matchQuestions, "matchQuestions");
        Intrinsics.checkNotNullParameter(transactionId, "transactionId");
        this.matchQuestions = matchQuestions;
        this.subTaskId = i2;
        this.transactionId = transactionId;
    }

    /* JADX WARN: Multi-variable type inference failed */
    public static /* synthetic */ MatchEntity copy$default(MatchEntity matchEntity, List list, int i2, String str, int i3, Object obj) {
        if ((i3 & 1) != 0) {
            list = matchEntity.matchQuestions;
        }
        if ((i3 & 2) != 0) {
            i2 = matchEntity.subTaskId;
        }
        if ((i3 & 4) != 0) {
            str = matchEntity.transactionId;
        }
        return matchEntity.copy(list, i2, str);
    }

    @NotNull
    public final List<MatchQuestions> component1() {
        return this.matchQuestions;
    }

    public final int component2() {
        return this.subTaskId;
    }

    @NotNull
    public final String component3() {
        return this.transactionId;
    }

    @NotNull
    public final MatchEntity copy(@NotNull List<MatchQuestions> matchQuestions, int i2, @NotNull String transactionId) {
        Intrinsics.checkNotNullParameter(matchQuestions, "matchQuestions");
        Intrinsics.checkNotNullParameter(transactionId, "transactionId");
        return new MatchEntity(matchQuestions, i2, transactionId);
    }

    public boolean equals(@Nullable Object obj) {
        if (this == obj) {
            return true;
        }
        if (!(obj instanceof MatchEntity)) {
            return false;
        }
        MatchEntity matchEntity = (MatchEntity) obj;
        return Intrinsics.areEqual(this.matchQuestions, matchEntity.matchQuestions) && this.subTaskId == matchEntity.subTaskId && Intrinsics.areEqual(this.transactionId, matchEntity.transactionId);
    }

    @NotNull
    public final List<MatchQuestions> getMatchQuestions() {
        return this.matchQuestions;
    }

    public final int getSubTaskId() {
        return this.subTaskId;
    }

    @NotNull
    public final String getTransactionId() {
        return this.transactionId;
    }

    public int hashCode() {
        return (((this.matchQuestions.hashCode() * 31) + this.subTaskId) * 31) + this.transactionId.hashCode();
    }

    @NotNull
    public String toString() {
        return "MatchEntity(matchQuestions=" + this.matchQuestions + ", subTaskId=" + this.subTaskId + ", transactionId=" + this.transactionId + ')';
    }
}